package cn.yh.nft.turbo.api.order.request;

import cn.yh.nft.turbo.api.user.constant.UserType;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @ClassName: BaseOrderUpdateRequest
 * @Author: 草莓爱上啵啵
 */
@Getter
@Setter
public abstract class BaseOrderUpdateRequest extends BaseOrderRequest{

    /**
     * 订单Id
     */
    @NotNull(message = "orderId 不能为空")
    private String orderId;


    /**
     * 操作时间
     */
    @NotNull(message = "operateTime 不能为空")
    private Date operateTime;


    /**
     * 操作人
     */
    @NotNull(message = "operator 不能为空")
    private String operator;


    /**
     * 操作类型
     */
    @NotNull(message = "operatorType 不能为空")
    private UserType operatorType;

}
